<?php


namespace app\lunwen\controller;


use app\lunwen\model\ExternalMarkGradeModel;
use cmf\controller\HomeBaseController;

class DepartmentCheckGradeController extends HomeBaseController
{
    //查看评分
    public function index(){
        $grade = new ExternalMarkGradeModel();
        $data = $grade
            ->whereTime('create_time','>',session('beforeYear'))
            ->whereTime('create_time','<',session('afterYear'))
            ->all();
        $this->assign('title',$data);
        return $this->fetch(":departmentCheckGrade");
    }
}